What type of variables are needed to pass data between two structs in SwiftUI